<template>
    <div> 
       <h1>跨层 $attrs  $listeners  --- {{ n }} =={{mm}} </h1>  

        <zi :n="n" @chuan="fn"></zi>
    </div>
</template>

<script>
import zi from "@/components/kuaceng/zi.vue"
export default {
   components:{
    zi
   },
   data() {
    return {
        n: 123456,
        mm:""
    };
   },
   methods:{
    fn(d){
        console.log(d);
        this.mm =d;
    }
   }
   
};
</script>

